package command;

/**
 * 创建一个请求类，里面是具体的执行命令的方法，也就是那些实现类都会来调用这些方法
 * @author zj
 *
 */
public class Request {
	  private String name = "ABC";
	   private int quantity = 10;
	 
	   public void buy(){
	      System.out.println("buy [ Name: "+name+",quantity"+quantity);
	   }
	   public void sell(){
		   System.out.println("sell [ Name: "+name+",quantity"+quantity);
	   }
}
